package com.rt.code.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import java.sql.Timestamp;
import java.util.List;

/**
 * Created by wxy on 2017/8/26.
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tmpt_table")
public class A1templatetable{


    //----------------------------------------
    // model
    //----------------------------------------
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String keyrandom;
    private String idType;
    private String btnMulti;
    private Integer mode;
    private String primarykey;
    private Integer isdialogAdddialog;
    private String tablename;
    private String tablenameshow;
    private String comment;
    private String one2many;
    private Integer hasaddbtn;
    private Integer hasdownloadreportbtn;
    private Integer haseditbtn;
    private Integer hashistorybtn;
    private String beanmethod;
    private String beanobject;
    private String beanhistorymethod;
    private String tablealiasname;
    private String foreignkey;
    private Integer hasdelbtn;
    private Integer hascompanyid;
    private String sqlprocedure;
    private Integer height4adddialog;
    private Integer width4adddialog;
    private String chartjson;
    private Integer chartheight;
    private Integer chartwidth;
    private String interceptaddmethod;
    private String intercepteditmethod;
    private Integer hascheckbox;
    private String datasource;
    private Integer deleteflag;
    private String interceptobject;
    private String tablenamesql;
    private String tablenamehistorysql;
    private String sqlpage;
    private String sqlcount;
    private String sqlsum;
    private String sqlreport;
    private String sqlpagehistory;
    private String sqlcounthistory;
    private String styleAdddialog;
    private Integer createmanId;
    private Integer modifymanId;
    private Integer companyId;
    private Timestamp createdate;
    private String createman;
    private Timestamp modifydate;
    private String modifyman;
    private String treeJson;
    private String version;

    //----------------------------------------
    // 与页面交互时的参数
    //----------------------------------------
    private Timestamp createdate_Start;
    private Timestamp createdate_End;
    private Timestamp modifydate_Start;
    private Timestamp modifydate_End;



    // One to Many
    @TableField(exist = false)
    private List<A1templatecolumn> tmptTbColumnList;




}
